package com.hyy.lotterysystem;

import com.hyy.lotterysystem.controller.param.InvitationParam;
import com.hyy.lotterysystem.service.ActivityService;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.ArrayList;
import java.util.List;

@SpringBootTest
public class ActivityUser {

    @Autowired
    private ActivityService activityService;

    @Test
    void invitation(){
        InvitationParam invitationParam = new InvitationParam();
        List<Long> list=new ArrayList<>();
        list.add(1L);
        list.add(999L);
        invitationParam.setActivityIds(list);
        invitationParam.setUserName("郭倩");
        invitationParam.setUserId(7L);
//        activityService.invitation(invitationParam,"fdsfd");
    }
}
